@scripts = {
    <script type="text/javascript" src="@routes.Assets.versioned("javascripts/posapp/posapp.js")"></script>
    <script type="text/javascript" src="@routes.Assets.versioned("javascripts/posapp/enteritem.js")"></script>
    <script type="text/javascript" src="@routes.Assets.versioned("javascripts/posapp/returnitem.js")"></script>
    <script type="text/javascript" src="@routes.Assets.versioned("javascripts/posapp/vip.js")"></script>
}


@main("pos app", scripts) {
    <style>
    body {
        min-height: 2000px;
        padding-top: 106px;
    }
    </style>
    <div class="navbar navbar-lg navbar-fixed-top" role="navigation">
        <div class="container">
                <!-- Brand and toggle get grouped for better mobile display -->
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar-collapse-7">
                    <span class="sr-only">Toggle navigation</span>
                </button>
                <a class="navbar-brand" href="javascript:;">POS 雞</a>
            </div>

                <!-- Collect the nav links, forms, and other content for toggling -->
            <div class="collapse navbar-collapse" id="navbar-collapse-7">
                <ul class="nav navbar-nav" id="nav-list">
                    <li class="active"><a data-target="enteritem" href="javascript:;">埋單</a></li>
                    <li><a data-target="addcustomer" href="javascript:;">VIP</a></li>
                    <li><a data-target="returnitem" href="javascript:;">退貨處理</a></li>
                </ul>
                <ul class="nav navbar-nav navbar-right">
                    <li><a href="javascript:;">退出</a></li>
                </ul>
            </div><!-- /.navbar-collapse -->
        </div>
    </div>
    <div class="container">
        <div class="row enteritem active operation">
        @enteritem()
        </div>

        <div class="row addcustomer operation">
        @addcustomer()
        </div>

        <div class="row returnitem operation">
					@returnbillitem()
        </div>
    </div>
    <script type="text/template" id="tmple-listItem">
        <li>{id}&nbsp;&nbsp;|&nbsp;&nbsp;{name}&nbsp;&nbsp;|&nbsp;&nbsp;{sum}&nbsp;&nbsp;|&nbsp;&nbsp;{sumPrice}
            <span class="fui-cross delete-right" data-id={listLength}
            ></span>
        </li>
    </script>
    <script type="text/template" id="tmple-bill">
    <li data-id="{id}">{id}&nbsp;&nbsp;|&nbsp;&nbsp;{name}&nbsp;&nbsp;|&nbsp;&nbsp;{user}&nbsp;&nbsp;|&nbsp;&nbsp;{time}
    </li>
    </script>
    <script type="text/template" id="tmple-list">
        <tr>
            <td>{name}</td>
            <td>{sum}</td>
            <td>{sumPrice}</td>
        </tr>
    </script>
    <script type="text/template" id="tmple-product">
        <p>{id}</p>
        <p>{name}</p>
        <p>{price}</p>
        <p>{priceDes}</p>
        <p>{stock}</p>
        <p>{des}</p>
    </script>

}